package com.after.saas.common.api.service;

import com.after.saas.common.model.query.UserQuery;
import com.after.saas.common.model.vo.UserVO;
import com.github.pagehelper.PageInfo;

/**
 * @Classname LoginService
 * @Description TODO
 * @Date 2021/4/25 16:50
 * @Created by hjchen
 */
public interface ExternUserService {

    /**
     * 登录接口
     *
     * @return UserVO
     */
    UserVO login(UserQuery query);

    PageInfo<UserVO> listPage(UserQuery query);

    UserVO registry(UserVO userVO);
}